//
//  CustomTool.h
//  KeyBoard
//
//  Created by MyMac on 15/10/23.
//  Copyright © 2015年 tongfang. All rights reserved.
//
#import <UIKit/UIKit.h>
#import <Foundation/Foundation.h>
typedef void(^KeyBoardBlock)(CGRect keyBoardFrame,CGFloat animationDuration,NSDictionary*userInfo);
typedef NS_ENUM(NSInteger,KeyBoardDetail) {
    KeyBoardDetailDisplay,
    KeyBoardDetailRecover,

};
@interface CustomTool : NSObject
+(instancetype)shareCustomTool;
-(void)toolKeyBoardShowAndHideOperatuonWithshowOPeration:(KeyBoardBlock)showBlock hideOPeration:(KeyBoardBlock)hideBlock;
+(void)keyBoardAddObserver:(id)observer showBlcok:(void(^)(CGRect keyBoardBounds,CGFloat animationDuration,NSDictionary*userIfon))showBlock hideBlock:(void(^)(CGRect keyBoardBounds,CGFloat animationDuration,NSDictionary*userIfon))hideBlock;
@end
